package bean;

public class wareHouse {
    private int warehouseId;
    private String warehouseName;

    private int warehouseCap;//仓库容量
    private int surplusCapacity;//某仓库的剩余容量
    private int ADDmerchSum;//某仓库的商品总数量
    private int isalive;

    public wareHouse() {}

    public wareHouse(int warehouseId, String warehouseName, int warehouseCap, int surplusCapacity, int ADDmerchSum, int isalive) {
        this.warehouseId = warehouseId;
        this.warehouseName = warehouseName;
        this.warehouseCap = warehouseCap;
        this.surplusCapacity = surplusCapacity;
        this.ADDmerchSum = ADDmerchSum;
        this.isalive = isalive;
    }

    public int getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(int warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public int getWarehouseCap() {
        return warehouseCap;
    }

    public void setWarehouseCap(int warehouseCap) {
        this.warehouseCap = warehouseCap;
    }

    public int getIsalive() {
        return isalive;
    }

    public void setIsalive(int isalive) {
        this.isalive = isalive;
    }

    public int getSurplusCapacity() {
        return surplusCapacity;
    }

    public void setSurplusCapacity(int surplusCapacity) {
        this.surplusCapacity = surplusCapacity;
    }

    public int getADDmerchSum() {
        return ADDmerchSum;
    }

    public void setADDmerchSum(int ADDmerchSum) {
        this.ADDmerchSum = ADDmerchSum;
    }

    @Override
    public String toString() {
        return "wareHouse{" +
                "warehouseId=" + warehouseId +
                ", warehouseName='" + warehouseName + '\'' +
                ", warehouseCap=" + warehouseCap +
                ", surplusCapacity=" + surplusCapacity +
                ", ADDmerchSum=" + ADDmerchSum +
                ", isalive=" + isalive +
                '}';
    }
}
